enteredState

abstract fun enteredState(    stateMachine: StateMachine<S, T>,     previousState: S,     transition: T,     currentState: S)

After a state transition has been verified to be legal and also applied to a machine.

Parameters

stateMachine

the machine notifying the state change

previousState

the previous state of the machine before the transition was applied

transition

the transition that initiated the state change

currentState

the resulting state of this transition